<?php

$menu = [
    [
        'name'    => 'classroom',
        'title'   => '企业培训考试',
        'icon'    => 'fa fa-desktop',
        'sublist' => [
            [
                'name'    => 'classroom/classify',
                'title'   => '课程管理',
                'icon'    => 'fa fa-book',
                'ismenu'  => 1,
                'weigh'   => '1000',
                'sublist' => [
                    [
                        'name'    => 'classroom/course',
                        'title'   => '课程列表',
                        'icon'    => 'fa fa-bars',
                        'ismenu'  => 1,
                        'weigh'   => '1000',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/course/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course/show',
                                'title'   => '详情',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],
                    [
                        'name'    => 'classroom/type',
                        'title'   => '课程分类',
                        'icon'    => 'fa fa-leaf',
                        'ismenu'  => 1,
                        'weigh'   => '800',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/type/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/type/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/type/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/type/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/type/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],
                    [
                        'name'    => 'classroom/author',
                        'title'   => '讲师列表',
                        'icon'    => 'fa fa-address-book-o',
                        'ismenu'  => 1,
                        'weigh'   => '700',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/author/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/author/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/author/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/author/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/author/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],
                    [
                        'name'    => 'classroom/lesson',
                        'title'   => '章节',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/lesson/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/lesson/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/lesson/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/lesson/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/lesson/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],
                    [
                        'name'    => 'classroom/course_record',
                        'title'   => '学习记录',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/course_record/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course_record/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course_record/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course_record/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/course_record/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],                
                ],
            ],
            [
                'name'    => 'classroom/test/test',
                'title'   => '试卷管理',
                'icon'    => 'fa fa-edit',
                'ismenu'  => 1,
                'weigh'   => '700',
                'sublist' => [
                    [
                        'name'    => 'classroom/test',
                        'title'   => '试卷列表',
                        'icon'    => 'fa fa-bars',
                        'ismenu'  => 1,
                        'weigh'   => '700',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/test/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/question_list',
                                'title'   => '题目编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/show',
                                'title'   => '试卷详情',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/test/user_assign',
                                'title'   => '指定必考人员',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],
                    [
                        'name'    => 'classroom/question',
                        'title'   => '题目列表',
                        'icon'    => 'fa fa-quora',
                        'ismenu'  => 1,
                        'weigh'   => '0',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/question/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/question/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/question/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/question/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/question/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],                
                ],
            ],
            [
                'name'    => 'classroom/article/article',
                'title'   => '文章管理',
                'icon'    => 'fa fa-file-text-o',
                'ismenu'  => 1,
                'weigh'   => '600',
                'sublist' => [
                    [
                        'name'    => 'classroom/article',
                        'title'   => '文章列表',
                        'icon'    => 'fa fa-bars',
                        'ismenu'  => 1,
                        'weigh'   => '200',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/article/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],
                    [
                        'name'    => 'classroom/article_category',
                        'title'   => '文章分类',
                        'icon'    => 'fa fa-leaf',
                        'ismenu'  => 1,
                        'weigh'   => '100',
                        'sublist' => [
                
                            [
                                'name'    => 'classroom/article_category/index',
                                'title'   => '查看',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article_category/add',
                                'title'   => '添加',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article_category/edit',
                                'title'   => '编辑',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article_category/del',
                                'title'   => '删除',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],
                            [
                                'name'    => 'classroom/article_category/multi',
                                'title'   => '批量更新',
                                'icon'    => 'fa fa-circle-o',
                                'ismenu'  => 0,
                                'weigh'   => '0',
                                'sublist' => [
                                                
                                ],
                            ],                
                        ],
                    ],                
                ],
            ],
            [
                'name'    => 'classroom/banner',
                'title'   => '轮播图',
                'icon'    => 'fa fa-image',
                'ismenu'  => 1,
                'weigh'   => '500',
                'sublist' => [
                    [
                        'name'    => 'classroom/banner/index',
                        'title'   => '查看',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/banner/add',
                        'title'   => '添加',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/banner/edit',
                        'title'   => '编辑',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/banner/del',
                        'title'   => '删除',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/banner/multi',
                        'title'   => '批量更新',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],                
                ],
            ],
            [
                'name'    => 'classroom/config',
                'title'   => '站点配置',
                'icon'    => 'fa fa-cogs',
                'ismenu'  => 1,
                'weigh'   => '100',
                'sublist' => [
                    [
                        'name'    => 'classroom/config/index',
                        'title'   => '修改',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],                
                ],
            ],
            [
                'name'    => 'classroom/course_msg',
                'title'   => '评论',
                'icon'    => 'fa fa-circle-o',
                'ismenu'  => 0,
                'weigh'   => '0',
                'sublist' => [
                    [
                        'name'    => 'classroom/course_msg/index',
                        'title'   => '查看',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/course_msg/audit',
                        'title'   => '评论审核',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/course_msg/add',
                        'title'   => '添加',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/course_msg/edit',
                        'title'   => '编辑',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/course_msg/del',
                        'title'   => '删除',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/course_msg/multi',
                        'title'   => '批量更新',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],                
                ],
            ],
            [
                'name'    => 'classroom/test_log',
                'title'   => '提交试卷',
                'icon'    => 'fa fa-circle-o',
                'ismenu'  => 0,
                'weigh'   => '0',
                'sublist' => [
                    [
                        'name'    => 'classroom/test_log/index',
                        'title'   => '查看',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/test_log/check',
                        'title'   => '批改',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/test_log/detail',
                        'title'   => '查看',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/test_log/add',
                        'title'   => '添加',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/test_log/edit',
                        'title'   => '编辑',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/test_log/del',
                        'title'   => '删除',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],
                    [
                        'name'    => 'classroom/test_log/multi',
                        'title'   => '批量更新',
                        'icon'    => 'fa fa-circle-o',
                        'ismenu'  => 0,
                        'weigh'   => '0',
                        'sublist' => [
                                
                        ],
                    ],                
                ],
            ],
        ]
    ]
];
return $menu;